package com.kooison.trafficMonitor.crawler;

import java.util.Properties;
import java.util.logging.Logger;

import com.kooison.crawler.xml.jaxb.model.td.TrafficInfo;
import com.kooison.util.properties.PropertyLoader;

public class BaseCrawler implements ICrawler {
	
	protected static Properties mProperties;
	protected static final Logger log = Logger.getLogger(Crawler.class.getName());

	public BaseCrawler() {
		log.info("loading config...");
		mProperties = PropertyLoader.loadProperties("config.properties");
		log.info("loaded");
	}

	public TrafficInfo getTrafficInfo() {
		// TODO Auto-generated method stub
		return null;
	}

	public TrafficInfo getTrafficInfo(String[] locations) {
		// TODO Auto-generated method stub
		return null;
	}

	public TrafficInfo getTrafficInfo(String location) {
		// TODO Auto-generated method stub
		return null;
	}

	public void reload() {
		// TODO Auto-generated method stub
		
	}
}
